<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body>
    <span class="layui-breadcrumb" >
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_01')?></cite></a>
        <a href="<?=site_url('opt/main')?>"><?=L('tpl_02')?></a>
        <a href="<?=site_url('sms/lists')?>"><?=L('tpl_05')?></a>
    </span>
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
        <ul class="layui-tab-title">
            <li><a class="tablink" href="<?=site_url('sms')?>"><?=L('tpl_03')?></a></li>
            <li class="tablink"><a href="javascript:cscms.tips_goto('<?=site_url('sms/add')?>');"><?=L('tpl_04')?></a></li>
            <li><a class="layui-this tablink" href="<?=site_url('sms/lists')?>"><?=L('tpl_05')?></a></li>
        </ul>
        <div class="layui-tab-content">
        <table class="layui-table" style="width: 99.7%">
            <colgroup>
                <col>
                <col>
                <col>
                <col>
            </colgroup>
            <thead>
                <tr>
                    <th><?=L('tpl_sl_01')?></th>
                    <th><?=L('tpl_sl_02')?></th>
                    <th><?=L('tpl_sl_03')?></th>
                    <th><?=L('tpl_sl_04')?></th>
                    <th><?=L('tpl_sl_05')?></th>
                    <th><?=L('tpl_sl_06')?></th>
                    <th><?=L('tpl_sl_07')?></th>
                </tr>
            </thead>
            <tbody>
            <?php
                if(empty($lists)) echo '<tr><td align="center" height="50" colspan="7">'.L('tpl_sl_08').'</td></tr>';
                foreach ($lists as $row) {
                    echo '
                        <tr>
                        <td>'.$row['id'].'</td>
                        <td>'.$row['tel'].'</td>
                        <td>'.$row['nums'].'</td>
                        <td>'.date('Y-m-d H:i:s',$row['addtime']).'</td>
                        <td>'.$row['ip'].'</td>
                        <td>'.$row['neir'].'</td>
                        </tr> ';
                }
            ?>
            </tbody>
        </table>
        </div>
    </div>
    <div id="page">
        <div class="data_nums phide"><?=$page_data?></div>
        <div class="data_page"><?=$page_list?></div>
    </div>
<script type="text/javascript">
    cscms.init();
</script>
</body>
</html>